<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="/resource/css/admin/left.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/resource/js/jquery.js"></script>
<script type="text/javascript" src="/resource/js/admin/left.js"></script>
</head>
<body>
	<div class="lefttop">日常办公</div>
   	<div class="leftbody">
   		<#if checkPermission(admin,'office_')>
	        <dl>
	        	<#if checkPermission(admin,'office_article_')>
		            <dt>文档管理</dt>
		            <dd>
		                <ul>
		                    <#if checkPermission(admin,'office_article_manage')>
								<#list columnses as columns>
									<li><a href="article/?columnsid=${columns.id}" target="rFrame"<#if columns.parentId gt 0> class="no-jj"</#if>><#if columns.parentId gt 0>  ┝ </#if>${columns.name}</a></li>
								</#list>
								<#if zhuantis?size gt 0>
									<#list zhuantis as zhuanti>
										<li><a href="article/?zhuantiid=${zhuanti.id}" target="rFrame">${zhuanti.name}</a></li>
										<#list columnsForZhuanties as columns>
											<#if columns.zhuanti.id == zhuanti.id>
											<li><a href="article/?columnsid=${columns.id}" target="rFrame"<#if columns.parentId gt 0> class="no-jj"</#if>>┝ ${columns.name}</a></li>
											</#if>
										</#list>
									</#list>
								</#if>
							</#if>
							<hr style="border-bottom: solid 1px #d9d9d9; width: 70%; margin: 5px auto;"/>
		                    <#if checkPermission(admin,'office_article_gather')><li><a href="articlegather/" target="rFrame">文档采集</a></li></#if>
		                    <#if checkPermission(admin,'office_article_check')><li><a href="articlecheck/" target="rFrame">待我审核的文档</a></li></#if>
		                    <#if checkPermission(admin,'office_article_checked')><li><a href="articlecheck/checked" target="rFrame">经我审核的文档</a></li></#if>
		                    <#if checkPermission(admin,'office_article_receive')><li><a href="articlereceive/" target="rFrame">报送过来的文档</a></li></#if>
		                    <#if checkPermission(admin,'office_article_recycled')><li><a href="articlerecycled/" target="rFrame">文档回收站</a></li></#if>
		                </ul>
		            </dd>
	            </#if>
	        	<#if checkPermission(admin,'office_create_')>
		            <dt>静态生成</dt>
		            <dd>
		                <ul>
		                    <#if checkPermission(admin,'office_create_all')><li><a href="createpage/" target="rFrame" onclick="return createstaticpage('生成全部可能会消耗大量时间，确定生成全部静态HTML吗？')">生成全部HTML</a></li></#if>
		                    <#if checkPermission(admin,'office_create_index')><li><a href="createpage/homepage" target="rFrame" onclick="return createstaticpage('确定生成主页静态HTML吗？')">生成主页HTML</a></li></#if>
		                    <#if checkPermission(admin,'office_create_columns')><li><a href="createpage/columns" target="rFrame">生成栏目HTML</a></li></#if>
		                    <#if checkPermission(admin,'office_create_zhuanti')><li><a href="createpage/zhuanti" target="rFrame">生成专题HTML</a></li></#if>
		                    <#if checkPermission(admin,'office_create_department')><li><a href="createpage/department" target="rFrame">生成部门HTML</a></li></#if>
		                    <#if checkPermission(admin,'office_create_article')><li><a href="createpage/article" target="rFrame">生成文档HTML</a></li></#if>
		                    <#if checkPermission(admin,'office_create_other')><li><a href="createpage/other" target="rFrame">生成其它HTML</a></li></#if>
		                    <#if checkPermission(admin,'office_create_leavemessage')><li><a href="createpage/leavemessage" target="rFrame">生成留言HTML</a></li></#if>
		                </ul>
		            </dd>
	            </#if>
	        	<#if checkPermission(admin,'office_form_')>
		            <dt>表单处理</dt>
		        	<dd>
		                <ul>
		                	<#list forms as form>
		                    	<#if checkPermission(admin,'office_form_${form.id}')><li><a href="formdata/?formid=${form.id}" target="rFrame">${form.name}</a></li></#if>
		                    </#list>
		                </ul>
		            </dd>
	        	</#if>
	        	<#if checkPermission(admin,'office_leavemessage_')>
		            <dt>大众留言</dt>
		        	<dd>
		                <ul>
		                    <#if checkPermission(admin,'office_leavemessage_manage')><li><a href="leavemessage/" target="rFrame">留言管理</a></li></#if>
		                </ul>
		            </dd>
	        	</#if>
	        	<#if checkPermission(admin,'office_weiboxin_')>
		            <dt>微博微信</dt>
		        	<dd>
		                <ul>
		                    <#if checkPermission(admin,'office_weibo_sync')><li><a href="weibo/sync" target="rFrame">微博同步</a></li></#if>
		                    <#if checkPermission(admin,'office_weixin_sync')><li><a href="weixin/sync" target="rFrame">微信同步</a></li></#if>
		                </ul>
		            </dd>
	            </#if>
	        	<#if checkPermission(admin,'office_articlestat_')>
		            <dt>绩效统计</dt>
		            <dd>
		                <ul>
		                    <#if checkPermission(admin,'office_articlestat_byadmin')><li><a href="articlestat/byadmin" target="rFrame">按用户统计</a></li></#if>
		                    <#if checkPermission(admin,'office_articlestat_bydepartment')><li><a href="articlestat/bydepartment" target="rFrame">按部门统计</a></li></#if>
		                </ul>
		            </dd>
	            </#if>
	        </dl>
        </#if>
        <#if checkPermission(admin,'yunwei_')>
	        <dl>
	        	<#if checkPermission(admin,'yunwei_organ_')>
		            <dt>组织机构</dt>
		            <dd>
		                <ul>
		                    <#if checkPermission(admin,'yunwei_organ_user')><li><a href="admin/" target="rFrame">用户管理</a></li></#if>
		                    <#if checkPermission(admin,'yunwei_organ_userrole')><li><a href="adminrole/" target="rFrame">角色管理</a></li></#if>
		                    <#if checkPermission(admin,'yunwei_organ_department')><li><a href="department/" target="rFrame">部门管理</a></li></#if>
		                    <#if ismaster && checkPermission(admin,'yunwei_organ_organization')><li><a href="organization/" target="rFrame">单位管理</a></li></#if>
		                </ul>
		            </dd>
	        	</#if>
	        	<#if checkPermission(admin,'yunwei_plugin_')>
		            <dt>辅助插件</dt>
		            <dd>
		                <ul>
		                    <#if checkPermission(admin,'yunwei_plugin_flutterwindow')><li><a href="flutter/" target="rFrame">飘浮窗口管理</a></li></#if>
		                    <#if checkPermission(admin,'yunwei_plugin_vote')><li><a href="vote/" target="rFrame">网上投票管理</a></li></#if>
		                    <#if checkPermission(admin,'yunwei_plugin_frendlink')><li><a href="friendlink/" target="rFrame">友情链接管理</a></li></#if>
		                </ul>
		            </dd>
	        	</#if>
	        	<#if checkPermission(admin,'yunwei_webmaintain_')>
		            <dt>网站维护</dt>
		            <dd>
		                <ul>
							<#if checkPermission(admin,'yunwei_webmaintain_webinfo')><li><a href="webinfo/" target="rFrame">网站基础管理</a></li></#if>
							<#if checkPermission(admin,'yunwei_webmaintain_colums')><li><a href="columns/" target="rFrame">网站栏目管理</a></li></#if>
							<#if checkPermission(admin,'yunwei_webmaintain_homepage')><li><a href="homepage/" target="rFrame">主页频道管理</a></li></#if>
							<#if checkPermission(admin,'yunwei_webmaintain_zhuanti')><li><a href="zhuanti/" target="rFrame">专题频道管理</a></li></#if>
							<#if checkPermission(admin,'yunwei_webmaintain_datamodel')><li><a href="datamodel/" target="rFrame">数据模型管理</a></li></#if>
							<#if checkPermission(admin,'yunwei_webmaintain_form')><li><a href="form/" target="rFrame">表单定义管理</a></li></#if>
							<#if checkPermission(admin,'yunwei_webmaintain_template')><li><a href="template/" target="rFrame">模板订制管理</a></li></#if>
							<#if checkPermission(admin,'yunwei_webmaintain_template')><li><a href="visitpv/" target="rFrame">网站访问量统计</a></li></#if>
		                </ul>
		            </dd>
	        	</#if>
	        	<#if checkPermission(admin,'yunwei_systemsetup_')>
		            <dt>系统设置</dt>
		            <dd>
		                <ul>
		                    <#if checkPermission(admin,'yunwei_systemsetup_imagesize')><li><a href="imagesize/" target="rFrame">裁图尺寸管理</a></li></#if>
		                    <#if checkPermission(admin,'yunwei_systemsetup_watermark')><li><a href="watermark/" target="rFrame">图片水印管理</a></li></#if>
		                    <#if checkPermission(admin,'yunwei_systemsetup_gatherproject')><li><a href="gatherproject/" target="rFrame">采集项目管理</a></li></#if>
		                    <#if checkPermission(admin,'yunwei_systemsetup_checkflow')><li><a href="checkflow/" target="rFrame">审核流程管理</a></li></#if>
		                    <#if checkPermission(admin,'yunwei_systemsetup_systemlog')><li><a href="systemlog/" target="rFrame">系统操作日志</a></li></#if>
		                </ul>
		            </dd>
	        	</#if>
	        </dl>
        </#if>
    </div>
</body>
</html>